package com.gardenguell.salad.data.model;

import com.google.gson.annotations.SerializedName;

/**
 * Created by absurd on 16/3/3.
 */
public class EnviromentParams extends BaseModel {


    @SerializedName("cid")
    private int mVegetableId;

    @SerializedName("A0")
    private float mTemperature;

    @SerializedName("A2")
    private float mIllumination;

    @SerializedName("A1")
    private float mHumidity;

    @SerializedName("A3")
    private float mNutrient;

    public EnviromentParams(){}

    public EnviromentParams(int mTemperature, int mIllumination, int mHumidity, int mNutrient) {
        this.mTemperature = mTemperature;
        this.mIllumination = mIllumination;
        this.mHumidity = mHumidity;
        this.mNutrient = mNutrient;
    }


    public int getVegetableId() {
        return mVegetableId;
    }

    public void setVegetableId(int vegetableId) {
        this.mVegetableId = vegetableId;
    }


    public float getIllumination() {
        return mIllumination;
    }

    public void setIllumination(float mIllumination) {
        this.mIllumination = mIllumination;
    }

    public float getTemperature() {
        return mTemperature;
    }

    public void setTemperature(float mTemperature) {
        this.mTemperature = mTemperature;
    }

    public float getHumidity() {
        return mHumidity;
    }

    public void setHumidity(float mHumidity) {
        this.mHumidity = mHumidity;
    }

    public float getNutrient() {
        return mNutrient;
    }

    public void setNutrient(float mNutrient) {
        this.mNutrient = mNutrient;
    }

    @Override
    public String toString() {
        return "EnviromentParams{" +
                "mVegetableId=" + mVegetableId +
                ", mTemperature=" + mTemperature +
                ", mIllumination=" + mIllumination +
                ", mHumidity=" + mHumidity +
                ", mNutrient=" + mNutrient +
                '}';
    }
}
